package com.yonyou.pmclouds.constructiondiary.rmiitf;

import com.yonyou.pmclouds.basecom.entity.PageObject;
import com.yonyou.pmclouds.basecom.entity.SuperVO;
import com.yonyou.pmclouds.basecom.exception.BusinessException;
import com.yonyou.pmclouds.constructiondiary.entity.ConstructionDiaryVO;
import com.yonyou.pmclouds.constructionlog.entity.ConstructionLogVO;

/**
 * 施工日志
 */
public interface ConstructionDiaryQuery {

    ConstructionDiaryVO[] queryDiaryListInfo(String pkProject) throws BusinessException;

    ConstructionDiaryVO queryDetailByID(String id) throws BusinessException;

    /**
     * 根据ids查询code对应的基础数据是否被引用
     * @param code
     * @param ids
     * @return
     * @throws BusinessException
     */
    boolean queryRefByIds(String code, String[] ids) throws BusinessException;

    PageObject<Object> queryByCondition(String[] pkProject,
                                         String[] creators,
                                         String startDate,
                                         String endDate,
                                         int[] billStatus,
                                         int start,
                                         int size) throws BusinessException;
}
